package core.communication.electionConfiguration;

public class AddMemberElectionConfiguration extends ElectionConfiguration {
	private static final long serialVersionUID = 4037451513591786736L;

	private CMember member;

	public AddMemberElectionConfiguration(Long electionIdentificationField, CMember member) {
		super(electionIdentificationField);
		this.member = member;
	}

	public CMember getMember() {
		return member;
	}

	public void setMember(CMember member) {
		this.member = member;
	}

	@Override
	public String toString() {
		return "Dodaję/Edytuję Membera: " + getMember().getIdentificationField();
	}
}
